import requests
import time
import json



url = "https://www.toutiao.com/a6680374907735376396/"
DEFAULT_REQUEST_HEADERS = {
  'accept': 'application/json, text/javascript',
  'accept-encoding': 'gzip, deflate, br',
  'accept-language': 'zh-CN,zh;q=0.9',
  'content-type': 'application/x-www-form-urlencoded',
  'cookie': r'tt_webid=6690142116742825483; WEATHER_CITY=%E5%8C%97%E4%BA%AC; UM_distinctid=16aac6a41835f2-02216b8f3ff65c-1333063-144000-16aac6a41846c5; tt_webid=6690142116742825483; csrftoken=be9507308c85fe35f4d9e41b5a38163c; s_v_web_id=0f745bdcd24e125302ec6455baaa0aee; sso_uid_tt=34fc9b2b184bc8740865f6a5cea8d12b; toutiao_sso_user=bbcf169e42c15ea85e866da5dc9267ba; login_flag=82b9035c0da02a63548b34c6405de18f; sessionid=da6433ccc4ab4c6b24a3007f6dcc452b; uid_tt=bf2db1fe289273475677527757ce4fb3; sid_tt=da6433ccc4ab4c6b24a3007f6dcc452b; sid_guard="da6433ccc4ab4c6b24a3007f6dcc452b|1557813270|15552000|Sun\054 10-Nov-2019 05:54:30 GMT"; __tasessionId=aos04d0wo1557818460745; CNZZDATA1259612802=1537169608-1557669575-https%253A%252F%252Fwww.baidu.com%252F%7C1557814027',
  'referer': 'https://www.toutiao.com/search/?keyword=%E6%8E%A8%E8%8D%90',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36',
  'x-requested-with': 'XMLHttpRequest'
}
req=requests.get(url=url,headers=DEFAULT_REQUEST_HEADERS).content.decode('utf-8')
print(req)